| Visual Basic (Declaration) | |
|---|---|
Public Overloads Shared Function DeepClone(Of T)( _ ByVal objectGraph As T, _ Optional ByVal cloningMethod As CloningMethod _ ) As T | |
| Visual Basic (Usage) | Copy Code |
|---|---|
Dim objectGraph As T Dim cloningMethod As CloningMethod Dim value As T value = CloningFns.DeepClone(Of T)(objectGraph, cloningMethod) | |
| C# | |
|---|---|
public static T DeepClone<T>( T objectGraph, CloningMethod cloningMethod ) | |
| C++/CLI | |
|---|---|
public: static T^ DeepClonegeneric<typename T> ( T^ objectGraph, CloningMethod cloningMethod ) | |
Parameters
- objectGraph
- cloningMethod
Type Parameters
- T
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family